package dao;

import bean.dto.VehicleChangeData;
import bean.pojo.ParkingSpace;
import bean.vo.ParkingInfo;

import java.util.List;

/**
 * dao
 * User: 坚持
 * Date: 2024/12/18 15:46
 * motto: 树欲静而风不止
 * Description:
 * Version: V1.0
 */
public interface ParkingSpaceDao {

    Integer updateParkingSpace(VehicleChangeData vehicleChangeData);

    Integer update(ParkingSpace parkingSpace);

    Long findByTotal(Integer ownerVehicleId,Integer parkingVehicleId);

    List<ParkingInfo> findBy(Integer page, Integer limit, Integer ownerVehicleId, Integer parkingVehicleId);
}
